.t-tab-bar {
  background: url('https://pic.hongsizg.com/minipro/tabbar/tabbar-icon-bg.png') no-repeat;
  background-color: none;
}

.tabbar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: fixed;
  bottom: constant(safe-area-inset-bottom);  
  bottom: env(safe-area-inset-bottom);
  left: 0;
  width: 100%;
  z-index: 100;
  

  .tabbar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .tabbar-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: #666;
    font-size: 14px;
    text-align: center;
    z-index: 10;
    padding-top: 20rpx;

    .icon {
      max-width: 80rpx;
    }

    .icon-1 {
      width: 56rpx;
    }

    .icon-3 {
      width: 42rpx;
    }
  }

  .tabbar-grid-item.first {
    padding-top: 34rpx;
  }

  // 第二个tabbar padding-top: 0
  .tabbar-grid-item:last-child {
    padding-top: 30rpx;
  }

  .title {
    font-family: PingFang SC, PingFang SC;
    font-weight: 800;
    font-size: 20rpx;
    line-height: 23rpx;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 14rpx;
  }

  .active {
    .title {
      color: #f2d49c;
    }
  }

  .first {
    .title {
      margin-top: 10rpx;
    }
  }

  .second {
    .title {
      margin-top: 14rpx;
    }
  }

  .last {
    .title {
      margin-top: 12rpx;
    }
  }
}
